package org.hxyjs.service;

import org.hxyjs.dto.DTO;
import org.hxyjs.entity.MatchOddsRecord;
import org.hxyjs.page.PageInfo;

public interface MatchOddsRecordService {
    /**
     * 查询全部学生
     * @return
     */
    public DTO<MatchOddsRecord> getAllMatchOddsRecords() throws Exception;
    /**
     *  查询学生带选课
     * @param morno
     * @return
     */

    public DTO<MatchOddsRecord> deleteMatchOddsRecordByMorno(String morno) throws Exception;
    /**
     *  删除学生
     * @param matchOddsRecord
     * @return
     */
    public DTO<MatchOddsRecord> updateMatchOddsRecordByMorno(MatchOddsRecord matchOddsRecord)  throws Exception;
    /**
     *  增加学生
     * @param matchOddsRecord
     * @return
     */
    public DTO<MatchOddsRecord> addMatchOddsRecord(MatchOddsRecord matchOddsRecord)  throws Exception;

    public DTO<MatchOddsRecord> getMatchOddsRecordByMorno(String morno)  throws Exception;

    public DTO<MatchOddsRecord> getMatchOddsRecordByPage(PageInfo pageInfo ,String cacheId) throws Exception;

    public DTO<MatchOddsRecord> getMatchOddsRecordByPage(PageInfo pageInfo) throws Exception;

//    public DTO<MatchOddsRecord> selectMatchOddsRecordWithorderAndUser(String morno) throws Exception;


}
